//
//  podrow.m
//  podrow
//
//  Created by Jerry Deng on 4/21/14.
//  Copyright (c) 2014 podrow. All rights reserved.
//

#import "NMPodrow.h"

static UserInfo *_instance = nil;

@implementation UserInfo

+(UserInfo *)sharedInstance
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instance = [[UserInfo alloc] init];
    });
    return _instance;
}

+ (id)allocWithZone:(NSZone *)zone
{
    static UserInfo *sharedInstance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        sharedInstance = [super allocWithZone:zone];
    });
    return sharedInstance;
}

@end

